package com.sansan.ultrasound_handpad.entity;

/**
 * Http业务包装类，Entity。
 */
public class HttpEntity {
    /** 状态码（200成功、400错误 */
    private Integer code;
    /** 提示信息 */
    private String msg;
    /** 响应数据 */
    private String data;
    /** */
    private Integer total;

    public HttpEntity() {}

    public HttpEntity(Integer code, String msg, String data, Integer total) {
        this.code = code;
        this.msg = msg;
        this.data = data;
        this.total = total;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }
}
